package com.lvmama.java.rhino.spark.entity;

/**
 * 订单填写日志
 * Created by lvzimin on 16/1/11.
 */
public class OrderInputLog extends AccessLog {

	private static final long serialVersionUID = -4590812143854794893L;

	/**
     * 产品ID
     */
    public Long productId;

    /**
     * 商品ID列表
     */
    public Long[] goodsIds;

    /**
     * 品类ID
     */
    public Long categoryId;

    /**
     * 目的地ID
     */
    public Long destId;

    public String toLogStr(String seperator) {
        StringBuilder builder = new StringBuilder();
        builder.append(super.toLogStr(seperator));
        builder.append(productId).append(seperator);
        builder.append(goodsIds).append(seperator);
        builder.append(categoryId).append(seperator);
        builder.append(destId).append(seperator);
        return builder.toString();
    }

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long[] getGoodsIds() {
		return goodsIds;
	}

	public void setGoodsIds(Long[] goodsIds) {
		this.goodsIds = goodsIds;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getDestId() {
		return destId;
	}

	public void setDestId(Long destId) {
		this.destId = destId;
	}
    
}
